package cate.common.table.d;

import cate.common.table.common.ParamSheet;
import easy.java.dev.note.NoteField;

public class GDPointRace {
    public static final long WHOLE_DAY_MILLIS = 24 * 3600 * 1000L;
    public static final long WHOLE_SEASON_MILLIS = 7 * WHOLE_DAY_MILLIS;

    @NoteField("积分最小值")
    public static int POINTS_MIN = 1000;

    @NoteField("多少次挑战之后可以跳过")
    public static int SKIP_CHALLENGE_TIMES;

    @NoteField("多少等级可以直接跳过")
    public static int SKIP_CHALLENGE_LEVEL;

    @NoteField("每日免费挑战次数")
    public static int FREE_CHALLENGE_TIMES;

    @NoteField("挑战券购买消耗")
    public static String TICKET_CONSUME_STR;

    @NoteField("挑战券ID")
    public static int TICKET_TID = 206004;

    @NoteField("寻找对手请求的间隔时间")
    public static final int FIND_OPPONENTS_INTERVAL = 4000;

    @NoteField("大神风采录像记录数")
    public static int NEW_BEE_RECORD_NUM = 100;

    public static final int RANK_LIMIT = 5000;

    public static void initialize(ParamSheet paramSheet) {
        FREE_CHALLENGE_TIMES = GDParamTool.getInt(paramSheet, 500, 5);
        TICKET_CONSUME_STR = GDParamTool.getString(paramSheet, 501, "0:1:100");
        SKIP_CHALLENGE_TIMES = GDParamTool.getInt(paramSheet, 509, 10);
        SKIP_CHALLENGE_LEVEL = GDParamTool.getInt(paramSheet, 508, 50);
    }
}
